.class Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;
.super Lcom/glympse/android/glympse/DlgPrompt;
.source "ViewSendGlympse.java"

# interfaces
.implements Lcom/glympse/android/glympse/DlgShell$DlgShellListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "DlgEnableSharing"
.end annotation


# instance fields
.field final synthetic this$1:Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;


# direct methods
.method public constructor <init>(Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;Landroid/content/Context;)V
    .locals 1
    .parameter
    .parameter "oContext"

    .prologue
    .line 1480
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->this$1:Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;

    .line 1471
    const/4 v0, 0x0

    invoke-direct {p0, p2, v0}, Lcom/glympse/android/glympse/DlgPrompt;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 1472
    const v0, 0x7f020046

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->SetTitleIcon(I)V

    .line 1473
    const v0, 0x7f0a006d

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->SetTitleText(I)V

    .line 1474
    const v0, 0x7f0a008e

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->SetPrompt(I)V

    .line 1477
    const v0, 0x7f0a005e

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->SetOkText(I)V

    .line 1478
    const v0, 0x7f0a005f

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->SetCancelText(I)V

    .line 1479
    invoke-virtual {p0, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->SetDlgShellListener(Lcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    return-void
.end method


# virtual methods
.method public OnCancel(Lcom/glympse/android/glympse/DlgShell;)V
    .locals 0
    .parameter "oDlgShell"

    .prologue
    .line 1496
    return-void
.end method

.method public OnDismissed(Lcom/glympse/android/glympse/DlgShell;Z)V
    .locals 1
    .parameter "oDlgShell"
    .parameter "fOk"

    .prologue
    .line 1501
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend$DlgEnableSharing;->this$1:Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;->Send()V

    .line 1502
    return-void
.end method

.method public OnOk(Lcom/glympse/android/glympse/DlgShell;)V
    .locals 2
    .parameter "oDlgShell"

    .prologue
    .line 1486
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/glympse/platform/Config;->m_fShareMyLocation:Z

    .line 1487
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    invoke-virtual {v0}, Lcom/glympse/platform/Config;->Save()V

    .line 1490
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    iget-object v0, v0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewTitleBar;->DoUpdate()V

    .line 1491
    return-void
.end method
